/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package eu.games.esmi.ieat.indicatorvalues.data;

import java.math.BigDecimal;
import java.util.Calendar;
import java.util.Date;

/**
 *
 * @author plebani
 */
public class AvgValues {

    private Date definitionTime;
    
    private BigDecimal computedValue;
    
    private Boolean yellow;
    
    private Boolean red;

    public AvgValues(Long aDefinitionTime, BigDecimal computedValue) {
        this.definitionTime = new Date();
        this.definitionTime.setTime(aDefinitionTime.longValue()*1000);
        this.computedValue = computedValue;
    }
    
    

    public BigDecimal getComputedValue() {
        return computedValue;
    }

    public void setComputedValue(BigDecimal computedValue) {
        this.computedValue = computedValue;
    }

    public Date getDefinitionTime() {
        return definitionTime;
    }

    public void setDefinitionTime(Date definitionTime) {
        this.definitionTime = definitionTime;
    }

    public Boolean getRed() {
        return red;
    }

    public void setRed(Boolean red) {
        this.red = red;
    }

    public Boolean getYellow() {
        return yellow;
    }

    public void setYellow(Boolean yellow) {
        this.yellow = yellow;
    }
    
    
    
    
    
}
